export const api = {
  user: '/user',
  role: '/role',
  service: '/service',
  permission: '/permission',
  permissionNoPager: '/permission/no-pager',
  orgTree: '/org/tree',
  // 用户表
  getStafflist: 'api/user/list',
  addStaff: 'api/user/save',
  allStaff: 'api/user/select',
  updateStaff: 'api/user/update',
  getstaffInfo: 'api/user/information',
  staffInfo: 'api/user/info',
  resetPassword: 'api/user/resetPassword',
  // 修改密码 获取用户信息 禁用用户
  updateStaffPassword: 'api/user/password',
  // getUserInfo: '/user/userInfo',
  disableStaff: 'api/user/status',
  // 角色管理
  roleManage: 'api/role',
  roleSelect: 'api/role/select',
  roloInfo: 'api/info',
  // 供应商管理
  supplierSelect: 'api/supplier/select',
  supplierSelectLast: 'api/supplier/selectLast',
  supplierInfo: 'api/supplier/list',
  supplierSave: 'api/supplier/save',
  supplierUpdate: 'api/supplier/update',
  supplierDelete: 'api/supplier/delete',
  supplierUpdateDiscount: 'api/supplier/updateDiscount',
  supplierTypes: 'api/supplier/selectTypes',
  // 菜单
  menuList: 'api/menu/select',
  addRole: '/api/role/save',
  roleMenu: '/api/role/info',
  roleDelete: '/api/role/delete',
  roleUpdate: '/api/role/update',
  // 产品标签
  productList: 'api/product/select',
  // 联系人
  getContact: '/api/contact/list',
  saveContact: 'api/contact/save',
  updateContact: 'api/contact/update',
  deleteContact: 'api/contact/delete',
  // 客户管理
  getCustomList: '/api/customer/list',
  saveCustom: 'api/customer/save',
  updateCustom: 'api/customer/update',
  deleteCustom: 'api/customer/delete',
  getAllCustom: 'api/customer/select',
  // 快递 Express
  getExpressList: '/api/express/list',
  getExpressInfo: '/express',
  saveExpress: 'api/express/save',
  updateExpress: 'api/express/update',
  deleteExpress: 'api/express/delete',
  // 产品
  getproductList: 'api/product/list',
  saveProduct: 'api/product/save',
  deleteProductReq: 'api/product/delete',
  updateProduct: 'api/product/update',
  // 信息
  getInfoList: 'api/info/list',
  saveInfo: 'api/info/save',
  deleteInfoReq: 'api/info/delete',
  updateInfo: 'api/info/update',
  // 奖惩
  getRewardList: 'api/reward/list',
  saveReward: 'api/reward/save',
  deleteRewardReq: 'api/reward/delete',
  updateReward: 'api/reward/update',
  // 收支
  getIncomeList: 'api/income/list',
  saveIncome: 'api/income/save',
  deleteIncomeReq: 'api/income/delete',
  updateIncome: 'api/income/update',
  // 附件
  saveFile: 'api/file/save',
  getFileByIds: 'api/file/ids',
  delFileById: 'api/file/delete',
  // 项目
  getProjectList: '/api/project/list',
  saveProject: '/api/project/save',
  updateProject: '/api/project/update',
  delProject: '/api/project/del',
  // 项目类型
  getProjectTypeList: '/api/projectType/list',
  saveProjectType: '/api/projectType/save',
  updateProjectType: '/api/projectType/update',
  delProjectType: '/api/projectType/delete',
  getAllProjectType: '/api/projectType/select',
  // 任务
  getTaskList: '/api/task/list',
  saveTask: '/api/task/save',
  updateTask: '/api/task/update',
  deleteTask: '/api/task/delete',
  progressTask: '/api/task/progress',
  statusTask: '/api/task/status',
  // 合同
  getContractList: '/api/contract/list',
  saveContract: '/api/contract/save',
  updateContract: '/api/contract/update',
  deleteContract: '/api/contract/delete',
  selectContract: '/api/contract/select',
  getContractInfo: '/api/contract/info',
  // 绩效 Performance
  getPerformanceList: '/api/performance/list',
  savePerformance: '/api/performance/save',
  updatePerformance: '/api/performance/update',
  deletePerformance: '/api/performance/delete',
  exportPerformance: '/api/performance/export',
  getALlTaskLevel2: 'api/task/taskLevel2',
  // 物品 清单
  getGoodsSelect: '/api/goods/select',
  getGoodsList: '/api/goods/list',
  saveGoods: '/api/goods/save',
  updateGoods: '/api/goods/update',
  deleteGoods: '/api/goods/delete',
  syncGoods: '/api/goods/sync',
  batchDelivery: '/api/goods/batchDelivery',
  delSync: '/api/goods/delSync',

  // 基础数据
  // supplierSelect: 'api/supplier/select',
  baseDataInfo: 'api/baseData/list',
  baseDataSave: 'api/baseData/save',
  baseDataUpdate: 'api/baseData/update',
  baseDataDelete: 'api/baseData/delete',
  baseDataUpdateDiscount: 'api/baseData/updateDiscount'
}

export default api
